const 生成数组 = (length, element) => {
  length = parseInt(length);
  let array = [];
  for (let i = 0; i < length; i++) {
    array.push(element);
  }
  return array;
};

module.exports = 生成数组;
